-- GENERATED SPELL FOR [Vilebranch Axe Thrower] --


function spell0_2639(pUnit, Event) --@Throw,n/a--
pUnit:FullCastSpellOnTarget(10277,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_2639', 500, 1)
end

function Sorts_2639(pUnit, Event)
local choix_sorts_2639 = math.random(0, 0)
if choix_sorts_2639 == 0 then
pUnit:RegisterEvent('spell0_2639', 1, 1)
end
end

function mob2639_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2639', math.random(1500, 3000), 1)
end

function mob2639_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2639_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2639_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2639, 1, 'mob2639_Action')
RegisterUnitEvent(2639, 2, 'mob2639_Leave')
RegisterUnitEvent(2639, 3, 'mob2639_Kill')
RegisterUnitEvent(2639, 4, 'mob2639_Die')
